package advance.app.utils;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "backupftp")
public class FtpConfig {

    private String host;
    private Integer port;
    private String username;
    private String password;
    private String localbackup12;
    private String localsetup12;
    private String remotebackup12;
    private String remotesetup12;

    private String localbackup8;
    private String localsetup8;
    private String remotebackup8;
    private String remotesetup8;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getLocalbackup12() {
        return localbackup12;
    }

    public void setLocalbackup12(String localbackup12) {
        this.localbackup12 = localbackup12;
    }

    public String getLocalsetup12() {
        return localsetup12;
    }

    public void setLocalsetup12(String localsetup12) {
        this.localsetup12 = localsetup12;
    }

    public String getRemotebackup12() {
        return remotebackup12;
    }

    public void setRemotebackup12(String remotebackup12) {
        this.remotebackup12 = remotebackup12;
    }

    public String getRemotesetup12() {
        return remotesetup12;
    }

    public void setRemotesetup12(String remotesetup12) {
        this.remotesetup12 = remotesetup12;
    }

    public String getLocalbackup8() {
        return localbackup8;
    }

    public void setLocalbackup8(String localbackup8) {
        this.localbackup8 = localbackup8;
    }

    public String getLocalsetup8() {
        return localsetup8;
    }

    public void setLocalsetup8(String localsetup8) {
        this.localsetup8 = localsetup8;
    }

    public String getRemotebackup8() {
        return remotebackup8;
    }

    public void setRemotebackup8(String remotebackup8) {
        this.remotebackup8 = remotebackup8;
    }

    public String getRemotesetup8() {
        return remotesetup8;
    }

    public void setRemotesetup8(String remotesetup8) {
        this.remotesetup8 = remotesetup8;
    }

    @Override
    public String toString() {
        return "FtpConfig{" +
                "host='" + host + '\'' +
                ", port=" + port +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", localbackup12='" + localbackup12 + '\'' +
                ", localsetup12='" + localsetup12 + '\'' +
                ", remotebackup12='" + remotebackup12 + '\'' +
                ", remotesetup12='" + remotesetup12 + '\'' +
                ", localbackup8='" + localbackup8 + '\'' +
                ", localsetup8='" + localsetup8 + '\'' +
                ", remotebackup8='" + remotebackup8 + '\'' +
                ", remotesetup8='" + remotesetup8 + '\'' +
                '}';
    }
}